﻿using ProtoBuf;
namespace PnJ.Aliyun.OTS.Models
{
    /// <summary>
    /// 
    /// </summary>
    [ProtoContract]
    public class UpdateTableRequest
    {
        public UpdateTableRequest()
        {

        }
        public UpdateTableRequest(string tableName,ReservedThroughput reservedThroughput)
        {
            this.TableName = tableName;
            this.ReservedThroughput = reservedThroughput;
        }
        /// <summary>
        /// 需要更改预留读写吞吐量设置的表的表名
        /// </summary>
        [ProtoMember(1, IsRequired = true, Name = "table_name")]
        public string TableName { get; set; }
        /// <summary>
        /// 将要更改的表的预留读写吞吐量设定，该设定将于一分钟后生效
        /// </summary>
        [ProtoMember(2, IsRequired = true, Name = "reserved_throughput")]

        public ReservedThroughput ReservedThroughput { get; set; }
    }
}
